package gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

//Panel for set up setting
public class About extends MainPanel{

	private static final long serialVersionUID = 1L;
	private GameButton back;
	
	//Default constructor for this class
	public About(){
		
		back = new GameButton("Vissza", MainWindow.getInnerWidth() - GameButton.DEFAULT_WIDTH - 10,
				MainWindow.getInnerHeight() - GameButton.DEFAULT_HEIGHT - 10);
		back.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent arg0) {
				MainWindow.getMainWindow().switchToMainMenu();
			}
		});
		
		add(back);
		
	}

}